package com.xdcplus.web.mapper;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.bo.OpeJobTaskAlarmCodeSettingBO;
import com.xdcplus.web.common.pojo.entity.OpeJobTaskRecord;
import com.xdcplus.web.common.pojo.query.OpeJobTaskRecordQuery;
import com.xdcplus.web.common.pojo.vo.OpeJobTaskRecordVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OpeJobTaskRecord)表数据库访问层
 *
 * @author Zhecheng.Ren
 * @since 2024-10-30 14:52:12
 */
public interface OpeJobTaskRecordMapper extends IBaseMapper<OpeJobTaskRecord> {

    /**
     * 查询(OpeJobTaskRecord)
     *
     * @param opeJobTaskRecordQuery (OpeJobTaskRecord)查询
     * @return {@link List<OpeJobTaskRecord>}
     */
    List<OpeJobTaskRecordVO> queryOpeJobTaskRecord(OpeJobTaskRecordQuery opeJobTaskRecordQuery);

    List<OpeJobTaskAlarmCodeSettingBO> queryOpeJobTaskAlarmCodeSetting(@Param("toolCode") String toolCode);

    OpeJobTaskRecord queryOpeJobTaskRecordByAlarmCodeAndToolCode(@Param("alarmCode") String alarmCode, @Param("toolCode") String toolCode);

    String queryToolNameByToolCode(@Param("toolCode") String toolCode);

}
